# Checks if the file is physically NOT present RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([a-z0-9-]+)+/([a-z0-9-]+)\.html$ /controller.php?partA=$1&partB=$2 [L]